package com.atguigu.yygh.order.service;


import com.atguigu.yygh.model.order.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface PaymentInfoService extends IService<PaymentInfo> {
    void insert(PaymentInfo paymentInfo);

    void updatePayStatus(Long orderId, Map<String, String> map);

    void updateStatus(Long orderId, int status);

    PaymentInfo getByOrderIdAndStatus(Long orderId, Integer status);
}
